html, body {
	font-family: 'Century Gothic', Calibri, serif;
	font-size: 13px;
	text-align: center;
	background-color: #FBEBD8;
	height: 100%;
	margin: 0;
    padding: 0;
}

.img-vague-reglement {
	position: absolute; 
	top: 410px; 
	left: 0px;
}

p {
    /* text-indent: 50px; */
    letter-spacing: 1px;
	text-align: center;
}

.container-carre-regle {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 73px;
	margin-bottom: 113px;
}

.rectangle-regle {
  width: 250px;
  height: 250px;
  background-color: #DC413F;
  margin: 10px auto;
  padding: 10px;
  float: none;
  margin-right: 103px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: black;
  text-decoration: none;
  transition: transform 0.7s ease, background-color 0.7s ease;
}

.rectangle-regle:hover {
	background-color: #a73230;
	transform: scale(1.05);
}

.icon {
  text-align: center;
  margin-bottom: 20px;
}

.icon img {
  width: 75px; /* Taille de l'icône */
  height: 75px; /* Taille de l'icône */
}

h2 {
  text-align: center;
  margin-bottom: 10px;
}

img {
	width: 100%;
	height: auto;
	float: none;
    /* display: block;
    margin-left: 0px;
    margin-right: 0px  */
}

.text {
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #F5F5DC;
	filter: drop-shadow(2px 2px black);
	font-size: 65px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 480px) {
	.text {
		position: absolute;
		top: 15%;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #F5F5DC;
		filter: drop-shadow(2px 2px black);
		font-size: 45px;
		font-weight: bold;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	.img-vague-reglement {
		position: absolute; 
		top: 260px; 
		left: 0px;
	}	

	.container-carre-regle {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 73px;
		margin-bottom: 113px;
		left: -80px;
	}
	
	.rectangle-regle {
		position: relative;
		left: 37px;
		width: 250px;
		height: 250px;
		background-color: #DC413F;
		margin: 10px auto;
		padding: 18px;
		float: none;
		margin-right: 103px;
		border-radius: 15px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
		color: black;
		text-decoration: none;
		transition: transform 0.7s ease, background-color 0.7s ease;
	}
}

@media(max-width:820px){
	.text {
		position: absolute;
		top: 15%;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #F5F5DC;
		filter: drop-shadow(2px 2px black);
		font-size: 65px;
		font-weight: bold;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	.img-vague-reglement {
		position: absolute; 
		top: 260px; 
		left: 0px;
	}	

	.container-carre-regle {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 73px;
		margin-bottom: 113px;
		left: -80px;
	}
	
	.rectangle-regle {
		position: relative;
		left: 37px;
		width: 250px;
		height: 250px;
		background-color: #DC413F;
		margin: 10px auto;
		padding: 18px;
		float: none;
		margin-right: 103px;
		border-radius: 15px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
		color: black;
		text-decoration: none;
		transition: transform 0.7s ease, background-color 0.7s ease;
	}
}

@media screen and (min-width: 820px) and (max-width: 1024px) {
	.text {
		position: absolute;
		top: 15%;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #F5F5DC;
		filter: drop-shadow(2px 2px black);
		font-size: 65px;
		font-weight: bold;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	.img-vague-reglement {
		position: absolute; 
		top: 310px; 
		left: 0px;
	}	

	.container-carre-regle {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 73px;
		margin-bottom: 113px;
		left: -80px;
	}
	
	.rectangle-regle {
		position: relative;
		left: 5px;
		width: 250px;
		height: 250px;
		background-color: #DC413F;
		margin: 10px auto;
		padding: 38px;
		float: none;
		margin-right: 103px;
		border-radius: 15px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
		color: black;
		text-decoration: none;
		transition: transform 0.7s ease, background-color 0.7s ease;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
	.text {
		position: absolute;
		top: 18%;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #F5F5DC;
		filter: drop-shadow(2px 2px black);
		font-size: 65px;
		font-weight: bold;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	.img-vague-reglement {
		position: absolute; 
		top: 310px; 
		left: 0px;
	}	

	.container-carre-regle {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 73px;
		margin-bottom: 113px;
		left: -80px;
	}
	
	.rectangle-regle {
		position: relative;
		left: 5px;
		width: 250px;
		height: 250px;
		background-color: #DC413F;
		margin: 10px auto;
		padding: 38px;
		float: none;
		margin-right: 103px;
		border-radius: 15px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
		color: black;
		text-decoration: none;
		transition: transform 0.7s ease, background-color 0.7s ease;
	}
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
	.img-vague-reglement {
		position: absolute; 
		top: 310px; 
		left: 0px;
	}	

	.container-carre-regle {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 73px;
		margin-bottom: 113px;
		left: -80px;
	}
	
	.rectangle-regle {
		position: relative;
		left: -35px;
		width: 250px;
		height: 250px;
		background-color: #DC413F;
		margin: 10px auto;
		padding: 38px;
		float: none;
		margin-right: 103px;
		border-radius: 15px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
		color: black;
		text-decoration: none;
		transition: transform 0.7s ease, background-color 0.7s ease;
	}

}